/* 车辆管理API */
import request from '@/utils/request'
// 获取车辆类型信息列表
export const getVehicleInformationAPI = () => request({ url: '/manager/truckType/simple' })
// 获取车辆类型分页数据
export const getVehiclePageAPI = (params) => request({ url: '/manager/truckType/page', params })
// 添加车辆类型
export const addVehicleAPI = (data) => request({ method: 'post', url: '/manager/truckType', data })
// 获取车辆类型详情
export const getVehicleDetailsAPI = (id) => request({ url: `/manager/truckType/${id}` })
// 更新车辆类型
export const updateVehicleAPI = (data) => request({ method: 'put', url: `/manager/truckType/${data.id}`, data })
// 删除车辆类型
export const delVehicleAPI = (id) => request({ url: `/manager/truckType/${id}`, method: 'delete' })

